package comxin.innerclass;

import org.junit.Test;

public class Test2 {
    @Test
    public void method1(){
//        Outer.Inner inner = new Outer.Inner();
//        Outer.Inner inner1 = new Outer().new Inner();
//        System.out.println(inner1.name2);
    }
    @Test
    public void method2(){
        Outer outer=new Outer();
        outer.outerMethod();
    }
    @Test
    public void method3(){
        Outer outer = new Outer();
        Outer.Inner inner = outer.new Inner();
        inner.innerMethod();
    }
}
